import { createStore } from 'redux'
import rootReducer from '../reducers'
import { composeWithDevTools  } from 'redux-devtools-extension'

export default function configureStore(initState) {
  return createStore(rootReducer, initState, composeWithDevTools ());
}
